﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace RESTVentas.Dominio
{
    [DataContract]
    public class Venta
    {
        [DataMember]
        public int idventa { get; set; }
        [DataMember]
        public Cliente Cliente { get; set; }
        [DataMember]
        public Producto Producto { get; set; }
        [DataMember]
        public string direccion { get; set; }
        [DataMember]
        public int cantidad { get; set; }


        [DataMember]
        public int total { get; set; }
        [DataMember]
        public DateTime fechaRegistro { get; set; }
        [DataMember]
        public string estado { get; set; }
        [DataMember]
        public string observacion { get; set; }
    }
}